using System;
using System.ComponentModel;

using LongNet.Util;

namespace LongNet.Config
{
    /// <summary>
    /// Represents a configuration element for LongNet.Caching namespace.
    /// This class cannot be inherited.
    /// </summary>
    public sealed class CachingConfigElement
    {
        #region Constants

        internal const string LocalName = "caching";

        #endregion

        #region Fields

        private MemcachedElement memcached = new MemcachedElement();

        #endregion

        #region Setting Properties

        /// <summary>
        /// Gets the configuration of LongNet.Caching.Memcached namespace.
        /// </summary>
        public MemcachedElement Memcached
        {
            get { return this.memcached; }
            internal set { this.memcached = value; }
        }

        #endregion
    }
}
